package com.lannuokeji.biz.items.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 实验课程
 * </p>
 *
 * @author lannuoTeck
 * @since 2018-03-19
 */
@TableName("g_items_lab_course")
public class LabCourse extends Model<LabCourse> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 教师id
     */
    @TableField("teacherId")
    private String teacherId;
    /**
     * 教师姓名
     */
    @TableField("teacherName")
    private String teacherName;
    /**
     * 系别
     */
    private String department;
    /**
     * 开始学年
     */
    @TableField("startYear")
    private Integer startYear;
    /**
     * 结束学年
     */
    @TableField("endYear")
    private Integer endYear;
    /**
     * 学期
     */
    private Integer term;
    /**
     * 课程名称
     */
    @TableField("courseName")
    private String courseName;
    /**
     * 专业班级
     */
    private String major;
    /**
     * 实验室名称
     */
    @TableField("labName")
    private String labName;
    /**
     * 学分
     */
    private Integer credit;
    /**
     * 课程分类（必修\选修）
     */
    private String classify;
    /**
     * 实验者类别（本科，硕士，博士）
     */
    private String education;
    /**
     * 实验总人数
     */
    private Integer number;
    /**
     * 状态：0禁用，1启用，2删除
     */
    private Integer status;
    @TableField("createTime")
    private Date createTime;
    @TableField("updateTime")
    private Date updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public Integer getStartYear() {
        return startYear;
    }

    public void setStartYear(Integer startYear) {
        this.startYear = startYear;
    }

    public Integer getEndYear() {
        return endYear;
    }

    public void setEndYear(Integer endYear) {
        this.endYear = endYear;
    }

    public Integer getTerm() {
        return term;
    }

    public void setTerm(Integer term) {
        this.term = term;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getLabName() {
        return labName;
    }

    public void setLabName(String labName) {
        this.labName = labName;
    }

    public Integer getCredit() {
        return credit;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    public String getClassify() {
        return classify;
    }

    public void setClassify(String classify) {
        this.classify = classify;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "LabCourse{" +
        ", id=" + id +
        ", teacherId=" + teacherId +
        ", teacherName=" + teacherName +
        ", department=" + department +
        ", startYear=" + startYear +
        ", endYear=" + endYear +
        ", term=" + term +
        ", courseName=" + courseName +
        ", major=" + major +
        ", labName=" + labName +
        ", credit=" + credit +
        ", classify=" + classify +
        ", education=" + education +
        ", number=" + number +
        ", status=" + status +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
